let targetClass: any;

class Test {
  age!: number;
}

class LoggerSonClass extends Test {
  public name: string = "test";
  methodone() {
    console.log("methodone:", this.name);
  }
}

// 不能直接将一个类赋值给一个类，因为类具有双重性质，此时ts不知道这个类数类型还是变量
// TestCopy = Test

let TestCopy = Test;
TestCopy = LoggerSonClass;

export {};
